package com.kazu.index.entity.vo;

import com.kazu.utils.validator.InsertGroup;
import com.kazu.utils.validator.UpdateGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @Author kazu
 * @Date 2023/2/19 11:02
 * @Version 1.0
 */
@SuppressWarnings({"all"})
@Data
public class IndexImgsVo {
	
	@Schema(name = "id", description = "id")
	@NotBlank(groups = {UpdateGroup.class})
	private Long id;
	
	@Schema(name = "imgUrl", description = "图片URL地址")
	@NotBlank(groups = {InsertGroup.class, UpdateGroup.class})
	private String imgUrl;
	
	@Schema(name = "isDeleted", description = "是否删除(0-未删, 1-已删)")
	@NotBlank(groups = {InsertGroup.class, UpdateGroup.class})
	private Byte isDeleted;
	
}
